<template>
  <div id="app">
    <topbar class="topbar"></topbar>
    <div class="block">
      <el-timeline>
        <el-timeline-item
          v-for="(item, index) in activities"
          :key="index"
          placement="top"
          :timestamp="item.timestamp"
          type="info"
          size="large"
        >
          <el-card>
            <h4>{{ item.content }}</h4>
            <p>{{ item.author }} 提交于 {{ item.timestamp }}</p>
          </el-card>
        </el-timeline-item>
      </el-timeline>
    </div>

    <footbar class="footbar"></footbar>
  </div>
</template>

<script>
import topbar from "../public/topbar.vue";
import footbar from "../public/footbar.vue";
export default {
  name: "",
  components: {
    topbar,
    footbar,
  },
  data() {
    return {
      activities: [
        {
          author: "柳江南",
          timestamp: "2021-01-19 22:10",
          content: "修复加入根域名bbs后，接口用不了的问题",
        },
        {
          author: "柳江南",
          timestamp: "2021-01-19 16:54",
          content: "配置路径为/bbs/**，以便在此服务器上塞更多项目",
        },
        {
          author: "柳江南",
          timestamp: "2021-01-06 22:55",
          content: "修改Cookie时间为一个月，手机留言板回复尺寸修改",
        },
        {
          author: "柳江南",
          timestamp: "2020-12-28 16:54",
          content: "新增点击大图功能",
        },
        {
          author: "柳江南",
          timestamp: "2020-12-27 12:39",
          content: "新增点击大图",
        },
        {
          author: "柳江南",
          timestamp: "2020-12-27 10:43",
          content: "暂停使用 keep-alive",
        },
        {
          author: "柳江南",
          timestamp: "2020-12-27 00:04",
          content: "新增 keep-alive， 修改手机端样式，看起来不那么挤了",
        },
        {
          author: "柳江南",
          timestamp: "2020-12-22 19:23",
          content:
            "修复发帖页bug，感谢欧欧提出；修改首页帖子顺序逻辑；新增回帖换行",
        },
        {
          author: "柳江南",
          timestamp: "2020-12-20 21:23",
          content: "适配首页bug，增加图片加载失败默认图片",
        },
        {
          author: "柳江南",
          timestamp: "2020-12-18 14:45",
          content: "修复更新信息之后头像不显示bug，主页适配及其他bug",
        },
        {
          author: "柳江南",
          timestamp: "2020-12-18 01:25",
          content: "修改登录页适配手机端",
        },
        {
          author: "柳江南",
          timestamp: "2020-12-18 01:12",
          content: "完善手机端适配",
        },
        {
          author: "柳江南",
          timestamp: "2020-12-18 00:59",
          content: "适配手机端，修复大量bug，支持动图",
        },
        { author: "柳江南", timestamp: "2020-12-17 13:51", content: "修复bug" },
        {
          author: "柳江南",
          timestamp: "2020-12-16 22:02",
          content: "应该修复好了  button",
        },
        {
          author: "柳江南",
          timestamp: "2020-12-16 22:00",
          content: "尝试修复button 2",
        },
        {
          author: "柳江南",
          timestamp: "2020-12-16 21:57",
          content: "尝试修复button",
        },
        {
          author: "柳江南",
          timestamp: "2020-12-16 21:51",
          content: "加了button防抖",
        },
        {
          author: "柳江南",
          timestamp: "2020-12-16 21:39",
          content: "fix bugs",
        },
        {
          author: "柳江南",
          timestamp: "2020-12-16 20:15",
          content: "论坛大体完成",
        },
        {
          author: "柳江南",
          timestamp: "2020-12-15 22:58",
          content:
            "Merge branch 'master' of gitee.com:liu_jiangnan/bbs into master",
        },
        {
          author: "柳江南",
          timestamp: "2020-12-15 22:58",
          content: "文章页功能完善",
        },
        { author: "chk", timestamp: "2020-12-15 21:41", content: "你猜" },
        {
          author: "柳江南",
          timestamp: "2020-12-14 23:13",
          content: "文章页功能完善，字数限制修改",
        },
        {
          author: "柳江南",
          timestamp: "2020-12-12 01:56",
          content: "文章详情页功能与功能大概实现，修复一些页面bug",
        },
        {
          author: "柳江南",
          timestamp: "2020-12-11 18:19",
          content: "文章页bug修复，发文章功能完善，个人中心bug修复",
        },
        {
          author: "柳江南",
          timestamp: "2020-12-09 23:41",
          content: "文章页功能在做",
        },
        {
          author: "Tw1nkle",
          timestamp: "2020-12-09 22:00",
          content: "个人中心样式",
        },
        {
          author: "柳江南",
          timestamp: "2020-12-09 18:19",
          content:
            "文章页支持跳转，新增动态路由，日记正式完全移植至日志，个人中心功能实现，若干bugs修复",
        },
        {
          author: "柳江南",
          timestamp: "2020-12-04 21:33",
          content: "留言板功能大体完成，登录注册页小改，增加账号注销功能",
        },
        {
          author: "柳江南",
          timestamp: "2020-12-03 23:54",
          content: "更新留言板",
        },
        {
          author: "柳江南",
          timestamp: "2020-12-02 23:19",
          content: "更新留言板页面，更新日志条，更新默认头像",
        },
        {
          author: "柳江南",
          timestamp: "2020-12-02 12:49",
          content: "日记 更名为 日志，更改默认头像",
        },
        {
          author: "柳江南",
          timestamp: "2020-12-01 23:42",
          content: "首页热门文章更新",
        },
        {
          author: "柳江南",
          timestamp: "2020-12-01 22:17",
          content: "README.md 更新",
        },
        {
          author: "chk",
          timestamp: "2020-12-01 20:57",
          content:
            "Merge branch 'master' of gitee.com:liu_jiangnan/bbs into master",
        },
        {
          author: "chk",
          timestamp: "2020-12-01 20:55",
          content: "个人信息修改",
        },
        {
          author: "柳江南",
          timestamp: "2020-12-01 20:50",
          content: "login 绑定回车\\nregist 新增发送邮件cd",
        },
        {
          author: "柳江南",
          timestamp: "2020-12-01 00:34",
          content: "同步码云提交记录",
        },
        { author: "柳江南", timestamp: "2020-11-29 19:49", content: "bug fix" },
        {
          author: "柳江南",
          timestamp: "2020-11-29 19:41",
          content: "大部分页面更新",
        },
        {
          author: "柳江南",
          timestamp: "2020-11-26 13:01",
          content: "regist_valid",
        },
        { author: "柳江南", timestamp: "2020-11-25 13:26", content: "form" },
        { author: "柳江南", timestamp: "2020-11-23 22:45", content: "avatar" },
        {
          author: "柳江南",
          timestamp: "2020-11-21 13:34",
          content: "connect login",
        },
        { author: "柳江南", timestamp: "2020-11-20 23:15", content: "axios" },
        {
          author: "Tw1nkle",
          timestamp: "2020-11-19 21:24",
          content: "login about",
        },
        {
          author: "柳江南",
          timestamp: "2020-11-19 19:02",
          content: "index/home",
        },
        { author: "柳江南", timestamp: "2020-11-19 18:18", content: "login" },
        { author: "柳江南", timestamp: "2020-11-17 10:17", content: "mata" },
        { author: "柳江南", timestamp: "2020-11-16 23:09", content: "home" },
        {
          author: "chk",
          timestamp: "2020-11-16 12:21",
          content:
            "yerge branch 'master' of gitee.com:liu_jiangnan/bbs into master",
        },
        { author: "柳江南", timestamp: "2020-11-15 23:13", content: "axios" },
        { author: "chk", timestamp: "2020-11-15 21:41", content: "留言日记" },
        { author: "柳江南", timestamp: "2020-11-15 16:24", content: "home" },
        { author: "柳江南", timestamp: "2020-11-15 15:28", content: "topbar" },
        { author: "柳江南", timestamp: "2020-11-15 15:15", content: "about" },
        { author: "柳江南", timestamp: "2020-11-15 14:57", content: "router" },
        { author: "chk", timestamp: "2020-11-15 13:05", content: ".." },
        {
          author: "Tw1nkle",
          timestamp: "2020-10-22 22:54",
          content: "hot artcles",
        },
        { author: "柳江南", timestamp: "2020-10-22 22:49", content: "card" },
        { author: "柳江南", timestamp: "2020-10-22 18:48", content: "no" },
        { author: "柳江南", timestamp: "2020-10-21 22:45", content: "home" },
        { author: "柳江南", timestamp: "2020-10-21 21:57", content: "topbar" },
        { author: "chk", timestamp: "2020-10-21 20:35", content: "加了页面" },
        { author: "chk", timestamp: "2020-10-21 19:49", content: "test" },
        {
          author: "chk",
          timestamp: "2020-10-21 19:48",
          content:
            "Merge branch 'master' of gitee.com:liu_jiangnan/bbs into master",
        },
        { author: "Tw1nkle", timestamp: "2020-10-21 19:23", content: "test" },
        { author: "chk", timestamp: "2020-10-13 23:51", content: "menu导航栏" },
        { author: "柳江南", timestamp: "2020-10-13 12:57", content: "start" },
        {
          author: "柳江南",
          timestamp: "2020-10-13 13:06",
          content: "无更新说明",
        },
        {
          author: "柳江南",
          timestamp: "2020-10-13 13:06",
          content: "无更新说明",
        },
        {
          author: "柳江南",
          timestamp: "2020-10-13 13:06",
          content: "无更新说明",
        },
        {
          author: "柳江南",
          timestamp: "2020-10-13 12:40",
          content: "add LICENSE.",
        },
        {
          author: "柳江南",
          timestamp: "2020-10-13 12:39",
          content: "无更新说明",
        },
      ],
    };
  },
};
</script>

<style scoped>
#app {
  background-image: url(../../assets/bg9.jpg);
  background-size: 1920px 100%;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.block {
  width: 70%;
  margin: 50px auto;
}

div /deep/.is-top {
  color: rgb(48, 48, 48);
}

div /deep/.el-timeline-item__tail {
  border-left: 2px solid #909399;
}

@media screen and (max-width: 768px) {
  .block {
    width: 94%;
    margin: 50px 25px 50px 0px;
  }
}
</style>
